﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Lokad.Monitoring.Rsm.RsmDocument>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Check monitoring endpoint
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Check monitoring endpoint</h2>
    <pre><%= ViewData["message"] %></pre>
    <h3>Indicators</h3>
    <% foreach(var indicator in Model.Indicators) { %>
        <%= Html.Encode(indicator.Name) %>: <%= Html.Encode(indicator.Value) %><br />
    <% } %>
    <h3>Messages</h3>
    <% foreach(var message in Model.Messages) { %>
        <%= Html.Encode(message.Title) %>: <%= Html.Encode(message.Summary) %><br />
    <% } %>
</asp:Content>
